<?php

class PostsController extends AppController{
	public $scaffold;
	/*public $uses = array('Post', 'User');
	
	public function index(){
		$posts = $this->Post->find('all');
		$this->set('posts', $posts);
		
		$data = array();
		foreach($posts as $post){
			$id = $post['Post']['user_id'];
			$user = $this->User->findById($id);
			$data[] = $user['User']['username'];
		}
		$this->set('data', $data);
	}*/
}

?>